import React from "react";
import {observer, inject} from 'mobx-react';
import {List, TextareaItem, InputItem} from "weaver-mobile";

@observer
export default class Main extends React.Component {
    constructor(props) {
        super(props);
    }

    render() {
        const {data} = this.props;

        return (
            <List className="second-auth-detail-cert">
                {
                    data.map(o => {
                       // return <InputItem value={o.value} editable={false}>{o.label}</InputItem>
                        return <TextareaItem title={o.label} value={o.value} autoHeight editable={false}/>
                    })
                }
            </List>
        );
    }
}